package com.gbiac.modules.monitor.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.gbiac.modules.monitor.entity.UserCheckIn;

/**
 * @Description: 用户打卡记录
 * @Author: jeecg-boot
 * @Date: 2024-11-30
 * @Version: V1.0
 */
public interface IUserCheckInService extends IService<UserCheckIn> {

    /**
     * 上岗
     *
     * @param userId
     * @param seatId
     */
    void checkIn(String userId, String seatId);
    /**
     * 回岗
     * @param userId
     * @param seatId
     * @return
     */
    UserCheckIn checkInTemp(String userId, String seatId);

    /**
     * 离岗
     *
     * @param userId
     * @param seatId
     */
    void checkOut(String userId, String seatId);

    /**
     * 临时离岗，临时离岗不清空席位用户
     *
     * @param userId
     * @param seatId
     */
    void checkOutTemp(String userId, String seatId);


}
